import { connect } from 'dva';
import React from 'react';
import Folder from '../../components/folder';
import BasicLayout from '../../layout/BasicLayout';

const Index = () => {

  const fileList = [
    { fileId: 1, fileName: '123', type: 'file' },
    { fileId: 2, fileName: '456', type: 'folder' },
  ];

  return (
    <BasicLayout title="首页">
      <Folder fileList={fileList} selectMode={true} />
    </BasicLayout>
  );
};

export default connect()(Index);
